import request from "@/utils/system/request.js"

// 分位数法分组
export function quantile(data){
    return request({
        url   : "/grouping/quantile",
        method: "post",
        data,
    })
}

// 自然断点法分组
export function naturalBreaks(data){
    return request({
        url   : "/grouping/natural-breaks",
        method: "post",
        data,
    })
}

// 等间距法分组
export function equalInterval(data){
    return request({
        url   : "/grouping/equal-interval",
        method: "post",
        data,
    })
}

// 自定义规则法分组
export function customRule(data){
    return request({
        url   : "/grouping/custom-rule",
        method: "post",
        data,
    })
}
